<div class="pagination">
    <div class="pages">
    <?php if ($this->pageCount): 
    
    
    if (isset($this->previous)):
    
    	echo "<span class='paginatorPage prev'>".$this->translate('prev')."</span>";
    
    else:
    
    	echo "<span class='disabled' >".$this->translate('prev')."</span>";
    
    endif;
    
    foreach ($this->pagesInRange as $page): 
       
    	if ($page != $this->current): 
      
      		echo "<span class='paginatorPage'>$page</span>";
      
      	else:
      	
      		echo "<span class='currentPage'>$page</span>";
    
      	endif;
      	
    endforeach;
    ?>
    
    <!-- Next page link -->
    <?php 
    if (isset($this->next)): 
    
    	echo "<span class='paginatorPage next'>".$this->translate('next')."</span>";
    
    else:
    
    	echo "<span class='disabled' >".$this->translate('next')."</span>";
    
    endif;
    
    endif; ?>
    <div class="clear"></div>
    </div>

<span class="totalItems"><?php echo $this->totalItemCount?> <?php echo $this->translate( $this->totalItemCount > 1 ? 'commerces' : 'commerce')?></span>

<div class="orderBy">
<?php echo $this->formLabel( 'orderBy', $this->translate('orderBy') );?>: 
<?php echo $this->orderBy( $this->order );?>
</div>

<div class="clear"></div>
</div>